/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.givebalance.entity;

import com.jeeplus.modules.member.entity.Member;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 余额互转Entity
 * @author w
 * @version 2020-11-26
 */
public class GiveBalance extends DataEntity<GiveBalance> {
	
	private static final long serialVersionUID = 1L;
	private Member member;		// 操作用户
	private String tomember;		// 转交用户手机号
	private Double money;		// 转交金额
	
	public GiveBalance() {
		super();
	}

	public GiveBalance(String id){
		super(id);
	}

	@ExcelField(title="操作用户", fieldType=Member.class, value="member.loginName", align=2, sort=1)
	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}
	
	@ExcelField(title="转交用户手机号", align=2, sort=2)
	public String getTomember() {
		return tomember;
	}

	public void setTomember(String tomember) {
		this.tomember = tomember;
	}
	
	@ExcelField(title="转交金额", align=2, sort=3)
	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}
	
}